#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;

const int N = 1000;

int main()
{
	int x, y, z;
	cin >> x >> y >> z;
	vector<long long >a(N);//可以繁殖的成虫的个数
	auto b = a;//卵的个数
	auto c = a;  //幼虫的个数
	for (int i = 0; i <= x; i++)//从x+1天开始填表,之前的都初始化为1;
		a[i] = 1;
	for (int i = x + 1; i <= z + 1; i++)
	{
		a[i] = a[i - 1] + c[i - 1];//幼虫的数量+新成虫的数量
		b[i] = a[i - x] * y;//幼虫的数量来自x天前的成虫的数量
		c[i] = b[i - 1];
	}

	for (int i = 1; i <= z + 1; i++)cout << a[i] << " "; cout << endl; 
	cout << a[z + 1] << endl; 
	return 0;
}
